package cn.wyl.pet.service;

import cn.wyl.basic.util.AxiousResult;
import cn.wyl.basic.util.PageList;
import cn.wyl.pet.domain.SearchMasterMsg;
import cn.wyl.basic.service.BaseService;
import cn.wyl.pet.query.SearchMasterMsgQuery;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyl
 * @since 2022-08-09
 */
public interface ISearchMasterMsgService extends BaseService<SearchMasterMsg> {

    AxiousResult publish(SearchMasterMsg searchMasterMsg, HttpServletRequest request);

   PageList<SearchMasterMsg> toHandle(@RequestBody SearchMasterMsgQuery query, HttpServletRequest request);

    AxiousResult reject(Long id);

    void acceptOrder(Map<String, Object> params);
}
